package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("xu_patient")
public class PatientEntity {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    private String truename;
    @TableField(value = "IDnumber")
    private String IDnumber;
    private String sex;
    private Integer age;
    private String administrativeoffice;
    private String doctorname;
    private String illstatus;
    @TableField(value = "registrationTime")
    private Date registrationTime;
    @TableField(value = "registrationType")
    private String registrationType;
    private String phonenumber;
    private String adress;
    private String maritalstatus;
    private String nationname;
    private String sickResult;
    private String patientNumber;
}
